
from car import Car

car = Car('red',999)
print(car.to_string())

class ElecCarrr(Car):
    def __init__(self,capacity):
        super().__init__('black',999)
        self.capacity = capacity

    def to_string(self):
        return super().to_string() + ',capacity:' + str(self.capacity)

ecarr = ElecCarrr(99)
print(ecarr.to_string())

import platform
print(platform.python_version())
